<template>
  <cv-dialog-form v-model="show" title="添加分类" @confirm="allotJurisdiction">
    <tree></tree>
  </cv-dialog-form>
</template>
<script setup lang="ts">
import type { FormConfig } from '@/packages/components'
import { addReq, queryReq, pageQueryReq, updateReq } from '@/utils/http/code'
import { useVModels } from '@vueuse/core'
import {} from '@/api/goods/admin-catrgory'
import useVisible from '@/hooks/useVisible'
import tree from '@/views/set/test/index.vue'

/**
 * 权限分配
 */
const allotJurisdiction = () => {
  console.log('11111')
}

const roleJurisdiction = useVisible()
const emit = defineEmits(['update:show', 'refreshTable'])
const props = defineProps({
  /**
   * 是否显示弹窗
   */
  show: {
    type: Boolean,
    default: false,
  },
})
const { show } = useVModels(props)
</script>
<style lang="scss" scoped></style>
